FROM java:8
VOLUME /tmp
ADD ./target/auth-exec.jar /auth-exec.jar
RUN bash -c 'touch /auth-exec.jar'
EXPOSE 8080
ENTRYPOINT ["/auth-exec.jar","run","localhost"]